<admintpl file="header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="javascript:;">卡充值返利配置</a></li>
			<li><a href="{:U('RechargeRebate/add',array('id'=>empty($item['id'])?'':$item['id']))}" target="_self">添加</a></li>
		</ul>

			<table class="table table-hover table-bordered">
				<thead>
					<tr>
						<th width="50">金额范围</th>
                        <th width="50">返利比例</th>
                        <th width="50">创建时间</th>
						<th width="70">{:L('ACTIONS')}</th>
					</tr>
				</thead>
                <tbody>
                <foreach name="list" item="vo">
				<tr>
					<td>{$vo.start_price}~{$vo.end_price}</td>
                    <td>{$vo.rebate_percent}%</td>
					<td>{:date("Y-m-d H:i:s",$vo['create_time'])}</td>
					<td class="undeleted">
						<a href="{:U('RechargeRebate/add',array('id'=>$vo['id']))}">{:L('EDIT')}</a> |
						<a href="{:U('RechargeRebate/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">{:L('DELETE')}</a>
					</td>
				</tr>
				</foreach>
            </tbody>
			</table>

			<div class="pagination">{$page}</div>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>